The accompanying files allow replication of results in "Persisting Anxiety: The Duration of Emotions during the COVID-19 Pandemic". 

There are three data files:
1. "masterfile_wide.dta" is the master data file for the panel survey, containing all respondents and all waves of the survey. These data are necessary for replicating results in all tables and in figures 2 & 3.
2. "Replication data for figure 1.csv" contains aggregate data on covid cases in Louisiana during the course of this study used in figure 1. The R syntax file "Replication syntax file 3 for figures 1-3" can be used with this data file to replicate figure 1.
3. "Replication data for figures 2 and 3.csv" contain aggregate estimates for covid experiences and anxiety that appear in figures 2 and 3. The R syntax file "Replication syntax file 3 for figures 1-3" can be used with this data file to replicate figure 1. The estimates in this table are obtained by using "Replication syntax file 1.do" on "masterfile_wide.dta" (see below).

There are three sytax files:
1. "Replication syntax file 1.do" begins with the master panel file in wide format ("masterfile_wide.dta") and replicates all results from analyses of the panel in wide format.
2. "Replication syntax file 2.do" begins with the master panel file in wide format ("masterfile_wide.dta"), reshapes the data into long format, and replicates all results from analyses on the panel in long format.
3. "Replication syntax file 3 for figures 1-3" is a file for use in R. It takes the "Replication data for figure 1.csv" file to create figure 1. It takes "Replication data for figures 2 and 3.csv", which contains estimates generated in "Replication syntax file 1.do" to create figures 2 and 3.

Syntax files are annotated to indicate which lines replicate results for respective tables, columns/rows of tables, or figures. 

Interested individuals can access codebooks for all survey data and separate survey data files by wave at the data depository site for the Pandemic Anxiety, Recovery, and Inequality: Evaluating Institutions and Policy in a Coronavirus Hotspot project: https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/1IWRQA

In additon to variables in those codebooks, the replication data file ("masterfile_wide.dta") includes four additonal variables necessary for replication. The authors either computed or merged these variables. They are:  
1. cases_curr_w#: For each wave, this variable measures recent covid cases in respondent's parish (county)
2. parishpop_w#: Current population count for respondet's parish (county)
3. ur_w#: Respondent's parish (county) unemployment rate for month in which wave occurs
4. whichwaves: An indicator of which waves respondent completes according to the following values:
	1 All waves
	2 Waves 1-4 only
	3 Waves 1-3 and 5 only
	4 Waves 1-3 only 
	5 Waves 1-2 and 4-5 only
	6 Waves 1-2 and 4 only
	7 Waves 1-2 and 5 only
	8 Waves 1-2 only
	9 Waves 1 and 3-5 only
	10 Waves 1 and 3-4 only
	11 Waves 1, 3, and 5 only
	12 Waves 1 and 3 only
	13 Waves 1 and 4-5 only
	14 Waves 1 and 4 only
	15 Waves 1 and 5 only
	16 Waves 1 only
	17 Waves 2-5 only
	18 Waves 2-4 only
	19 Waves 2-3 and 5 only
	20 Waves 2-3 only
	21 Waves 2 and 4-5 only
	22 Waves 2 and 4 only
	23 Waves 2 and 5 only
	24 Wave 2 only
	25 Waves 3-5 only
	26 Waves 3-4 only
	27 Waves 3 and 5 only
	28 Wave 3 only
	29 Waves 4 and 5 only
	30 Wave 4 only
	31 Wave 5 only
	   